package serializer

import "yybk/model"

type Responder struct {
}

type ResponderTeacherSubmit struct {
	Id   int32 `json:"responder_id"`
	Code int32 `json:"error_code`
}

func (Responder) BuildResponderTeacherSubmit(data model.Responder) ResponderTeacherSubmit {
	return ResponderTeacherSubmit{
		Id:   data.Id,
		Code: 0,
	}
}

type ResponderTeacherStop struct {
	Code int32 `json:"error_code"`
}
